/*******************************************************************************
 * Package: com.hngtrust.iir.user.controller.vo
 * Type:    ViewCollectVO
 * Date:    2021/3/16 20:42
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.user.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 取消收藏请求参数
 *
 * @author Chaidd
 * @date 2021/12/20 10:42
 */
@ApiModel(description = "取消收藏请求参数")
@Data
public class DeleteCollectInfoReqVO {

    /**
     * 信息类型
     * 1资讯 2观点 3研报
     */
    @ApiModelProperty(value = "信息类型 1资讯 2观点 3研报")
    @NotNull(message = "信息类型不能为空")
    private Integer infoType;

    /**
     * 信息ID
     */
    @ApiModelProperty(value = "信息ID")
    @NotNull(message = "信息id不能为空")
    private Long infoId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    @NotBlank(message = "标题不能为空")
    private String infoName;

    /**
     * 分组信息id
     */
    @ApiModelProperty(value = "分组信息id")
    @NotNull(message = "分组不能为空")
    private Long groupingId;
}
